package com.example.demo.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface AdminMapper {
    @Select("select id from admin where username = #{username}")
    Long selectIdByUsername(String username);

    @Select("select password from admin where username = #{username}")
    String selectPasswordByUsername(String username);
}
